I'm actually on disability for Major Depressive Disorder (the fancy official diagnostic term for clinical depression). I'm not sure what state you live in or if it matters. They should all offer some level of disability insurance. The answer is "yes" in California. You have to meet the criteria of course which is under the care of a psychiatrist, med compliant, unresponsive treatment, ect. and be incapable of performing the duties required for your job. I really needed it and probably waited to long to get it. Waiting until suicidal ideation is making itself right at home and hurling all it's nastiness at you is not wise. People prone depression can relapse under acute job burnout. In California they take about 2/3 of your highest pay period and use that as the compensation rate. If you qualify and it sounds like you ask your Dr. if he would be willing to signed off on it. If you so in a couple weeks you will start getting paid (in Cali on a debit card) approximately 2/3 or what you would be making. You will get ext. forms in the mail and your doctor will authorize continued payment either until you are well or until your funds run out. Call your state disability office or go online to request the initial forms. Good Luck!
P.S. Just to be clear this is not S.S.I but short term state disability. S.S.I. is whole another animal!
The answer is yes if you meet the qualifications as stated above, but not necessarily a good idea unless all else has failed, which is never the case if you're only 25. Remember, once you leave the workplace for an extended period of time it's very hard to get back in. More importantly, sitting home alone all the time isn't the greatest thing for someone suffering from depression. Often anxiety comes along with depression, and avoidance makes anxiety worse. Your world can get smaller. For someone who has been fighting this long into adulthood it might be not the best idea but necessary so you can still feed yourself and pay your rent, but staying out in the world will do more to help you heal. Now, that also depends on the job you have, whether you like it or not or have a passion for it, but this should be the absolutely last resort and, again, at 25 it's hardly likely you've exhausted your possibilities. Do it if you need to, but think it over first and make sure you're doing it because you actually really can't work and not because it's easier. Best of luck whatever you decide.
There are IOP programs for people suffering from short term depression. As the gentlemen suggested isolation is to be avoided. However, sometimes rest is needed, especially if you are a sensitive person who works in an intense environment. This was the case for me. I am unusually empathic to stimuli and emotion and I was working in a drug and alcohol treatment. center. So being able to take some time off, spend some time in nature, writing, therapy, all that can help. However, with depression all that stuff can take significant contrary action and it's often easier to pick up the remote control. I would highly recommend either consistent therapy with an individual, gym or nature, and considering the IOP programs so you don't feel alone...