You really - REALLY - don't want to share a duplex with her when you're divorced.

I can only imagine the complications, hearing each other having sex with your new loves through the walls. Nope!

As for the marriage - sounds like you're done. And sounds like she never really was what you hoped for in a marriage. That being said - this may just be a case where the two of you aren't a fit. She has every right to be unsatisfied with a marginal sex life. You have every right to be unsatisfied with a relationship that feels so fraught that you're not very interested in sex with her. You each wanted the other to change.

With that in mind - what can you do to ensure this divorce is smooth and fair, not adversarial?