Well there is the thing - jobs usually require locality which mean they come before choosing a home unless you are a retiree in which case they lack services which can be a problem for the aged and infirm. A place with no jobs has cheap housing because nobody can afford it.