THIS A MILLION TIMES THIS. I mean it’s common sense. Would you rather stay home and calmly work on your assignment or would you go to work having constant mental breakdowns and ruining everyone else’s day?
And even if your job requires you to be present on the spot, say if you work in retail, if you're not mentally well enough to work that day you're better off recovering at home rather than, again, ruining everyone else's day with your mental breakdowns.