Depends...
For years I worked in an open-plan office. I found it highly distracting and annoying. I honestly hated the space. However it was useful if you needed to talk to someone, and except for winter, my cycle to and from the office was nice.
Since changing job I now work from home almost all the time. I miss seeing people and my cycle to work, but I don't have the annoying distractions of an office, my desk space at home is better and I don't have the winter commute to deal with.
On balance I think going into an office once or twice a fortnight may be useful, especially if other people were in the office on the same day. Otherwise going to an office when my colleagues aren't in it would be an utter waste of time.