My husband is a Software Engineer at a SAS (Software as a Service) company, which is more common for Software Engineers. He is also able to remain remote as much as he'd like; in fact, he would be allowed to go Fully Remote and move/travel if he wanted. However, he enjoys going into the office at least once/week to socialize/collaborate with coworkers and eat the good office snacks.
I think the biggest factor about if remote work is good for you is your social disposition. I'm more introverted, so it's nice for me to be able to stay home. My husband is more extroverted so he enjoys going into the office, but likes the flexibility to stay home for his work/life balance.
It depends on your employer. With COVID, more employers are open to software engineers working from home, but it's still not the norm in many places of employment.
For me, at VMware, my employer has let me know that it's totally optional depending on my preference. At the moment, I have a cube in the office and I have gone in a few times this year, but no one forced me to. Otherwise, I have been working from home with my manager's approval.
If you work for a DoD contractor and have a security clearance, you probably will not be granted permission to work from home. Another reason is the specialized/expensive equipment that Sarah referred to.
But that said, prior to Covid many companies would not approve extended remote. Now that the management has seen that their worst fears did not actually materialize, many more companies will consider remote or at least a hybrid situation.
I'd suggest we all continue to build up trust with management for remote jobs by going out of our way to insure projects are completed on-time with a high quality product.
It will also depend on your skills and experience. If you're a rock star with skills in a hot field like AI or Data Science then you'll likely be able to negotiate what you want.
Look through online job posting to get an idea what's offered in your area and nationwide. Keep in mind that employers policies could change at any time and from what I read some are asking employees to come back into the office. This could be on special days for meetings on so many days a week as part of a hybrid schedule.