The court must consider a number of factors, including who has been the primary caregiver and what is in the best interests of a child. No two situations are alike, and the law doesn’t favor mothers or fathers. Where the parties will live after a divorce also can impact the frequency of visitation.