Most but not all states have adopted UCCJEA. A parent disputing custody is going to need the services of a lawyer.