He is not done yet, he can still play if he wants too because for sure there are teams that will be interested to get him.
In his last season in the NBA, he played well although his points average has decrease but there are games where he take over and win the game for his team.
The kind of leadership that he has is a good one, even better than Lebron because he is one of the clutch player in the NBA who have a high IQ in basketball. If you will ask me, I would love to see him play, I don't know if I will like to see him playing with Bron.
He can still play but for me, he should already rest. In the past, Jordan came out of retirement and back to the NBA at the age of 38. Not that he is still in good shape but he is also a part of Washington Wizards franchise. Coming back will boost Wizards sale and it did. Tickets are sold out most of the time throughout the whole season even they are not even close in getting a playoffs spot. That's one of the reason aside from he miss playing basketball, he was challenged (Bryant's story) and donating all of his salaries into 9/11 attacks.
Now to Wade, he is now 37. In today's NBA, I doubt there is a team that will still sign him just because he is good and still in shape. NBA today is more of a business and rebuilding with young cores. And if let's say he will come back, he is 100% a bench warmer. It will give dirt to his legacy if he will just come back accepting a bench role just to play. I want to see Wade play again but it's better if he will stay retired.