I've recently researched an litigated this subject. No, you have been misinformed. A pregnant woman has a Constitutional right to go wherever she wants, and no "permission" by anyone is relevant or required. Jurisdiction as to custody does not attach until a child is born - and is present at the place where the baby is born.
Answered on Dec 11th, 2014 at 12:23 PM