It depends on scale. I moved during my last job, post-COVID, and the HR department has to make sure the state I was moving to was approved. If not, I was going to have to switch to contracting (fewer hours, fewer employer/employee type rules, more rigidly defined tasks, etc.) because the cost of setting up payroll and taxation in another state was too onerous for just one person, even at the higher levels of the development staff.