Legal custody means the right to make decisions on behalf of the children, such as medical, education and religious decisions in Pennsylvania. Legal custody is often shared, meaning that both parents have the right to participate in decisions regarding where their children will attend school, what type of medical care they will receive, etc.