Perhaps not. His mother says he was born on the naval base at Coco Solo. The reporter who saw his birth certificate says the same, not the most reliable source of course, but he did verify that the doctor's name on the BC was indeed a that of a Navy doctor then assigned to Coco Solo. And the birth was announced in the English language August 31, 1936 Panamanian American as having been born in the "Submarine base" Hospital.
One of the McCain "Birth Certificates" floating around on the net showing his birth in Colon, is an obvious fake, the other not so obvious, but still likely a fake.
His COLB states he was born in Colon, Republic of Panama. I’ve seen it. It was shown here on FR. His COLB was issued by the Canal Zone.
Coco Solo did not have a hospital until 1941. McCain was born in 1936.