Out of State

I am just starting the divorce process. If joint custody is assigned, is my wife restricted to keeping our kids in the state? If sole custody is assigned can she take them anywhere?