I think more along the lines of having a partner in a healthy relationship requires some time put forth, which unless the partner is pair programming, time is not being spent on development efforts.
Find a partner that has creative hobbies. My wife knits and writes, and I also write and design/code games/apps. We both need time to work on things, so it works out well for the most part (less so when she was in a creative slump and only wanted to watch TV every night for several months).
I also can do routine coding while the TV is on (doesn't require a lot of thinking, just typing it up and testing for minor bugs), so I can still make some progress during that, but it's less.
Granted I do have to spend more time on the relationship/taking care of dogs than when I just lived by myself, so I'm less productive than I used to be, but I still get to work on things.