I am trying to understand the pros/cons and the possible hidden consequences of getting a divorce but agreeing to stay in a home/house until the kids are off to college (~6 years from now).

I'm curious about legal and non-legal issues to navigate, trying to understand the gray areas.
Is this a common practice?

How would it be structured?

Do you have any experience with such a situation?