Long Distance Custody Cases

When may a custodial parent move away with the children? What constraints may be placed on such a move? Is there a difference between conventional custody access situations and joint or shared custody arrangements?