Your situation sounds a lot like what my situation will be like in 2 years. My husband asked for a divorce and I think it’s a mistake. I told him I would rather have him as a friend than not in my life at all and he agreed because he told me he doesn’t love me anymore. Everyone is telling me to move on and let it go but I can’t. I’m so sorry you’re going through this. I would give you my number but I don’t want to post it publicly.
Let go and emotionally detach yourself now. There’s a YouTube channel called Therapy in a Nutshell that’s been very helpful to me in just working on myself. It’s not a divorce specific content however it’s helping somehow.