Courts distinguish legal custody (decision-making) from physical custody (where the child lives), and decide based on the child's best interests.