You cannot automatically do this, you do have to file something called “Complaint to Remove the Child from Massachusetts”, and the judge has to determine that it is in the child’s best interest.