The answer depends on the best interests of the children. This is based on a long list of factors that include the emotional ties between the children and each parent, the views and preferences of the children, the ability and willingness of each parent to provide the children with guidance and education, the plans proposed by each parent for the care and upbringing of the children, and the stability of the family unit. When parents separate, each parent has a right to apply to court for a parenting plan for the children. A judge will make a decision based on the best interests of the children and on the arrangements that were made for their care immediately after separation.