This is also unfair and biased, if I accepted an in-person job like 5 hours away obviously it's going to suck.
There's a happy medium -- if the commute was short I'd love it because it gets me out of the house and clears my mind. I also like the separation of space and there's no way I can afford to have a second office in my home. There's also great energy from co-workers. Obviously reasonable parameters on both sides make a difference.
I wonder what people with kids think though, I don't have that experience but I imagine as long as schools are open working at home might be better?