No, that is absolutely untrue. Until paternity is established in a court of law, you are free to make all the decisions on behalf of your unborn child. You are free to go is you please.
Now, as a practical matter, I would not rub his nose in that.
No, it is NOT illegal. If you want to go to a different state you can and you do NOT need his permission.
Unless he is a danger to the child, he has a right to see the child after child is born. He will also be required to pay child support.
But you can go live in any state you want right now.
Andre Olivie, Esq.
Legal disclaimer: This answer is offered for informational purposes only. It is not offered as, and does not constitute, legal advice. Do not rely on this advice without speaking to an immigration attorney in detail about your case. This message does not create an attorney-client relationship.
Sign up to receive a 3-part series of useful information and advice about child custody law.