I second @joelagbo's comment, in many cases working close to your team is boosting productivity. Also, working from home can have adverse effects such as lack of focus due to ambient familiarity (e.g. getting distracted, having family members around) and even negative sides, such as blurring the lines between personal time and work time - which are already hard to keep because of permanent connectivity (e.g. receiving work email on mobile phone).
Remote working is great and, if anything useful came out of this pandemic, it's been proven to work well. But it must be managed carefully by each of us.