Break up advice

Sorry in advance for the long, complicated post! 😁

My boyfriend of almost two years recently broke up with me and I've been having a hard time dealing with it. I suffer with depression and his reasoning for breaking up with me is so I can have space to focus on myself and so he won't be getting in the way. He says he thinks it's the best thing to do but we can still be friends.

I recently went back to therapy and I was so excited to start my recovery process with him by my side and now this comes out of the blue and I don't know what to do. I've told him multiple times this is not the best thing for me but he won't change his mind.

He says he wants to try again if it's suitable and I've been crazy fixed on thinking positive and getting better in the hope that I can be with him again but there's some part of me that knows we won't get back together.

I just want advice on how to deal with this if any of you can provide it. I'm still in love with him and I feel so broken.