If a custodial parent (who the child mainly lives with) wants to move out of state, and there is an order granting the noncustodial parent parenting time, they have to get permission from the other parent. The permission has to be in writing. If they leave without permission, it is a crime and they could lose custody. If the other parent does not agree to the move, the parents will have to go to court.
The custodial parent has to show the court that the move is in the child’s best interests unless the custodial parent was a victim of domestic abuse by the other parent. The court looks at several things, like parenting time agreements, the emotional needs of the child, and if the move is a plan to keep the other parent from seeing the child. Then the court decides if the custodial parent and child can move.
Source: Rights and Responsibilities of Unmarried Parents | LawHelp Minnesota