He won't be on the bench. He won't be with the team. He'll just be listed as inactive for next year.
The Mavs can buy him out for next year for just $2 million, which is what they are most likely going to do. That means he'll be free to go sign somewhere else.
That "somewhere else" excludes two teams.
Now, the Lakers could re-sign him if he waits and signs at that point. If they could, it might work, and they wouldn't be on this list anyway.
There are five teams he shouldn't even consider, though.