I does matter if you plan to move to a cheaper area after a retirement. Or even if you are buying a car which costs about the same from California to Virginia - only local goods/services (and housing of course) are more expensive in high cost high salary places. Everything else if about the same within a given country.