from a rental store(a game you rented, but didn't buy) no you shouldn't really have them in the first place, but keep them, give them away but don't sell them.
if it's a code from your game you bought, go ahead and sell it, just make one thread for it.