For the purposes of §§ 25-7-6.14 and 25-7-6.27, a child resides with a parent for a night if the child sleeps:
If, in a calendar year, due to a parent's nighttime work schedule, a child resides with a parent for days, but not nights, the court may condition the abatement on the required days rather than nights. In those instances, on a school day, the child is treated as residing at the primary residence registered with the school.
SDCL 25-7-6.28