I'd give it back because keeping it would just prolong the divorce battle. Even though the law says it's a gift he'll probably put up a fight anyway because the ring has sentimental value. People do vicious things during and after divorces so it might cause him to do something spiteful in return. I'd rather move on from him and avoid that pissing match.