Hey!! What's the story?
I think it's important to have a writing routine through the good times. When things get tough, you're more likely to be ready to lean on your writing and not just to put down the pen.
I'm actually the opposite though. If I am content and happy, I write less. Stress and sadness helps immensely and I'm not sure why...!
Writing is balm for my soul when things are bad. I say that from a space that comes on the other side of a tough period; if it wasn't for the various writing prompts I with which I occupy my time, I would be in a depression I believe.