People have an extraordinary capacity for compartmentalization. Sometimes we call it attention span: the ability to focus on one task at a time. Sometimes we call it meditation: the ability to clear your mind. Sometimes we call it cognitive dissonance: the ability to pursue an action when in direct opposition to values.
We compartmentalize in infinite numbers of ways. We may define our work/life balance as if they were completely separate entities. Along with the mind/body, public/private, self/community, and so forth.