I worked remotely, from home, for 5 years. These days, I work mostly in the office, with a 40 minute commute each way, despite the option for occasional working from home. There's a few reasons to prefer working in the office. The single biggest one is the hard delimiting of the work day; when I'm not in the office, I'm not working, I'm not available on email or chat, and unless it's an exceptional situation, nobody…
I worked with a guy once who'd been WFH in a previous job. He would get up, shower, put on a suit and tie, unlock the door to his home office, hang the suit jacket on a peg in the office, and sit down to work. At the end of the day he'd reverse the procedure, locking the office. He said he had to do it to keep things separate.