Yep. Employees are happier work harder and produce better work than those who are just going through the motions. Fewer distractions and longer commute means less productivity is possible.
Working in the office is kind of a sham imo, although I won’t fault people who do prefer that face-to-face communication with their co-workers.