How does a divorce or separation impact a student’s “school residence”?

If a student’s parents or guardians are separated or divorced, the school residence is the school district in which the custodial parent or guardian has residence.