Some bosses think returning to the office is the way to improve collaboration in teams, but that isn't always the case.