tld, You will know when you are ready to give up or not. Each situation is different. Some do get back together after divorce, but it's years down the road. Each situation is unique and different and you can base your decision on what others would do because we do not always know all of the ins and outs of what is going on when people post here.
To be perfectly honest, trying to figure out what to do after a divorce is too far into the future. Your focus should be on the here and now, especially your finances and your own well being.
Yes, it's a difficult journey, but as you move along and detach a bit more, you'll find that life will get better bit by bit.
Again for now, focus on the here and now and allow the future to take care of itself. Anything can happen between now and then.
Sit quietly, the answers will reveal themselves when you least expect them to. The past is gone, the present is a gift and you need to focus on today, allow the future to reveal itself when it is ready.