Both parents have legal physical custody of their kid under shared custody. In their separate residences, both parents spend roughly the same amount of time caring for the child. In most cases, this works best when both parents agree on a routine. If that isn't possible, the judge will decide who has primary custody of the child. They could also set up a visiting schedule.