Back in the early 2000s, I spent several years working a remote job while living in a studio apartment. Maintaining the habit of leaving the "office" at the end of the work day, running an errand or just walking around the block, and then returning "home" again really made it clear which mode my brain should be in.