It is possible to detach without appearing rude or ignoring her. Emotional detachment means your emotions are not tied to her actions.
Seconded. When I was doing this I thought of my W as a male colleague I worked with but wasn't close friends with who I was sharing a living space for a while. I was polite and minimially sociable and kept to myself and the kids. It worked in the sense that I felt better and became much more functional and positive on my own.