There is a woman in Scripture who models this very effectively. Her name is Anna…
And she was a widow of about fourscore and four years, which departed not from the temple, but served God with fastings and prayers night and day. And she coming in that instant gave thanks likewise unto the Lord, and spake of him to all them that looked for redemption in Jerusalem.Luk 2:37-38
Anna didn't panic about her single state. She didn't lament her situation. Rather, she realized she had an opportunity to serve the Lord without distraction. And what happened? She was given special revelation, for she recognized that which only one other mana man named Simeonknew. She knew the Babe in the arms of Mary and Joseph was not an ordinary Child.
How I encourage you who have been widowed or divorced to follow the example of Anna: Look for the Lord. Pray to the Lord. Walk with the Lord. Anna didn't hang out in the temple with God's people because she was miserable there. Rather, I suggest she stayed there year after year because she found in the Lord exactly what her soul was craving. So will you.