Interesting! Anecdotally I used to get very, very bad respiratory infections once a year when working in an office full time, getting at best an hour in the sun a day. Now I remote work and get anywhere from 2-6 hours sun most days, and I haven't had a serious infection for more than a year and a half. Could still be coming, but I feel 200% better overall so regardless, highly recommend getting outside more.
Edit: maybe this came off as a humble brag? Getting a downvote or two, which I don't mind, but I wouldn't want to give off the wrong impression. I only work from home, I am not a jetsetting nomad, I can just work around my outdoor activities now.