Some people find a new partner before the divorce. Sometimes, long before the divorce. Maybe that is true for religion too.
As for me, I joined and attended Unitarian Universalist fellowships for a number of years, long after putting Baptist bullshit behind me. It was partly for the friendship and community, and partly to find like minded people who wanted to get together but did not believe in, or approve of, their prior churches. It was a place where I could engage in conversations about things that were important to me. In the end, UU was too religious for me, and often just too silly. So I quit that too. Plus, too much time was spent with former Catholics and former Jews competing about whose religion caused the most guilt. Neither could believe they were not the most abused. As the only former Baptist who I knew, I was on my own with what it meant to be a former fundamentalist.