It is not only people with depression...I am the one with depression and could not have cared less if my ex had fun or did whatever away from home, so long as he left me alone.
He, who had his own issues, was 'jealous' when I had friends over, had good things happen...was up...or 'independent and strong' the things, in his words, that he liked about me when we met. But, became jealous of those very things because he couldn't become that way...couldn't figure out how I 'did' it. Little by little those things were eroded away.
So, yes. Spouses do resent when you have outside interests. Especially when you went from homebound to 'really' outside interests...away from home.
It is either that or he doesn't like your candidate?! Just kidding.

*This is an disclaimer...nothing in the content of this or any post is of real people...this is hypothetical.