How manageable is your depression now? Does it relapse often? What triggers relapses? If your PhD field, or city, or mentor is a probable relapse trigger then it's better to avoid this path. If your depression is under control now with medications and counselling then why not?