Under California law, once the divorce petition is filed, you would not be able to move a child out of state without first seeking the Court's permission. If the child is not yet born, a Judge probably does not have authority to prevent your moving, but may be able to order the child back to California after the birth. Your best move legally would be to move out of state before a divorce petition is filed and then file an action in your new state. If your husband files an action in California, then you can respond to it as a resident of your new state.
Answered on Oct 06th, 2014 at 1:20 PM