In basketball, the Clippers claim Bob McAdoo as one of their greatest, even though he was on the Buffalo Braves. Look at the Kings records, and you still see Oscar Robertson.
The only exception to this is if the league says the relocated team is a new franchise and the old team still claims the rights to the teams records (see Cleveland Browns and Arizona Coyotes)