Working in an office indoors is beneficial to not be exposed to sunlight or humid weather for long time. The office is like the comfort of your home.
Also keep in mind that maintaining an office has to be economical which means leather chairs have to be comfortable, walls need to have tinted color bc having 'loud' color gives people headaches and is extremely frustrating to work with.
I personally believe working outside is not a good whether it's warm outside.