It's generally better to live close to one person's workplace than right in between the two.
That doesn't mean it's not viable to live in the middle, but I think these are some pretty good arguments why it's often preferable to live close to at least one partner's workplace. Obviously it's not going to work for everybody, but if you're thinking about where to buy your house, this may be worth taking into consideration.