The top locations prioritize education, employment, health care and entertainment, according to WalletHub.