Would you consider living apart if either you or your SO had a great work opportunity elsewhere?

Sometimes I wish we didn't buy our house because that would make us both more flexible. I am totally fine with living apaprt if that means either of us can seize an opportunity to do some interesting, challenging work that alllows us to climb in our careers. Granted the salary would have to be conducive to supporting two places and still extra to make it worthwhile. We don't have children yet, but even if we did I would be open to it. My parents did this once when I was in middle school. They decided not to move the entire family when my mom's stint would last no more than three years.