I’m going to say yes* with a huge asterisk. Companies like Gitlab aren’t right about this.
Not without making a further distinction at least.
It’s all about value.
And software engineers need to be careful about this. Your value must also be perceived by the right people.
If you bring in the big clients to your business, if you take care of them so that they spend more or if you are designing visible solutions that have impact on your employers bottom line, it won’t matter where you work from.
If you are just executing, even if you are the best developer around with the highest skills, taking orders or producing under the direction of others, be careful about championing remote work. You will find it harder to compete with less pay under this remote first direction. Companies will look for ways to reduce costs and paying based on zip code is a great way to do it. (onshore or offshore)
Unless of course you start thinking hard now on how you can be more valuable to your employer! How can you be more than just a developer? how can you make things better? how can you lead?
Food for thought.