If parents divorce, matters such as child custody become an issue during the divorce and must eitherbe negotiated by agreement of the parents or the court makes the determination as to which parent should have physical and legal custody of the child.