The job climate is such, with lots of SV layoffs, that this requirement will probably work now where it wouldn't have worked six months ago (engs would have jumped from Twitter to another SV co)
A lot of Twitter employees live nowhere near SV, or even an office. The only way to interpret this is that Musk either wants to force more people to leave, or doesn't realize that they're going to leave as a result of this move.