No. You're not considered "on us soil" until you get past us customs. Hence why they can turn you back.
So the kid would be from the last port of entry. If she went into labor, she'd be taken to a hospital but it would be treated as the kid was born out of the country - so it would get no birth certificate.
c