Depends on what it symbolizes for you.

If you accept that your marriage is over, take it off and start moving forward it will help you with detachment.

If you take it off and keep trying to hold on for dear life it will not help with detachment.

Do what feels right to you.