This worked for remote logging and mining and other resource extraction, but it was also common for mills to have housing.
Back then, though, it was implicit that as long as the company was solvent and you worked, you had a job.
I know people who got nifty jobs in Palmdale CA, then due to business decisions of others, got transferred to LA, Redondo Beach, or Hawthorne CA, which is a heck of a commute from Palmdale (and housing costs three or four times as much).
I can’t see how we could get back to the Factory Town easily. But it would save a lot of energy for sure.
The idea was to get them to leave, voluntarily. A few times in my career, I was offered absurd relocations, when business got bad and layoffs were looming. It was just a loud hint.
I live in Massachusetts, which as everyone knows, is a Socialist pesthole...but still I took a layoff before accepting a transfer to California. Worked in there for a year, saw enough... My hideous state, multiplied by a large number. Cost of living, the "Homeless", etc.etc.