This dilemma seems common in the high-tech community. When I worked in the Bay Area, I was surprised by how many people I met who were doing what I was doing: living in a condo or an apartment for work while a spouse or family stayed behind in another city. Many commuted home every weekend; I did twice per month. I also know people who are doing this in Seattle (and one in Chicago). This strategy can be practical when you're rather senior, and your compensation justifies supporting a second home and frequent airline tickets, but for most people earlier in their careers it is simply not practical.
I suppose it is easier now that many jobs do not require you live near a corporate office, but that's obviously not an option for the fab jobs that started this conversation.
This discussion about TSMC's requirements revived a memory of mine from when I graduated from college. Even though it was 1979 and the country was in a deep recession (many graduates in various fields were not getting any offers), people with software training were getting multiple offers. I got several. By far the most highly compensated offer was from a company called Electronic Data Systems (EDS). It was founded and led by Ross Perot, a former US Navy officer and independent presidential candidate. Perot apparently ran EDS like a military organization, and was famous for organizing the rescue of two EDS employees held hostage in Iran in the late 1970s. I'm not sure why, they never specified, but after multiple interviews EDS decided they wanted to hire me. I was dispatched to either Boston or Dallas for a final interview, I can't remember which, but I was interviewed by them in both cities, and presented with a huge by comparison offer. About 50% more than any other I had received. I was asked to make a decision on the spot. As a condition of employment, I had to agree to spend six weeks in Denver at a training facility, where I would live in what sounded like a dormitory, and spend every day, including weekends and holidays, training at least 12 hours per day, according to their description. Upon successful graduation from the training, I would be assigned to work in one of EDS's client cities, and I would not know which location until I graduated. I was incredulous. I declined the offer, since I wanted more determinism in my life. They were incredulous, telling me no one who reached that stage of the interview process for this sort of position had ever declined. (I thought that was a BS story.) When I refused to change my mind, I was dismissed. For a long time after that I wondered how my life would have been different if I was more adventurous that day.