When I was working on a company that ALL people were in one same office - it sometimes made a difference as I could just stand up from my desk and go to a coworker that I needed to do/fix some stuff.
When the same company started to grow - and had multiple offices across entire Poland - we started to communicate each other with IM/email/teleconferences/...
This is the part when staying in the office was pointless as I/we needed to use IM/email/teleconferences/... anyway - so it does not matter if You do it from home or from the office.
Many manager do not understand that.
I work daily from home and I am not going back to office because of waste of my time (and money). If - for some reason - current employer would try to force me to get back - I am out of company in minutes and getting other job in more mature employer.
My $0.02 on the topic.