You have indicated that they are in the middle of a divorce. Within that context, there should be a temporary order for custody, which should express that the domicile of the children cannot be removed from the state without further order of the court. If no such order has been entered, your friend should see that one is entered.

