Yes. I was signed of work with stress several years ago. My GP said at the time that my time of work was about healing and that I should consider social events, the gym, yoga, etc as part of my treatment. Self care. And that I should still do th all, if not more. I spent a lot of time in the house but it was crucial that I went out and met up with other people etc for my recovery. I've not had a day off work with stress since because I recalibrated my priorities.
I wouldn't judge someone who was off work for stress for any reason who was taking time to care for their mental health I whatever way they saw fit.
A friend of mine has just gone back to work on a phased return after being signed off for 6 weeks. His issues weren't strictly work related but work wasn't helping. It took him a good few weeks to he able to do anything without feeling huge guilt about it.
He used the time to decorate his house, take the time to just 'be' and meet up with a few friends for coffee and walks. And, yes, he even went to the pub couple of times (for gigs, he doesn't drink). To begin with, he felt guilty for doing anything that wasn't just sitting down staring at 4 walls. It took him time to come to terms with the fact that his job is just what he does and not who he is.
If someone is off work for stress due bereavement or caring responsibilities, the bereavement and caring responsibilities don't just disappear. Time off work just gives someone time to regroup and take care of themselves.