It will depend on which carte de sejour you actually have, whether UE or WARP (Withdrawal Agreement Residence Permit).
There are differing time limits for absence from the EU State in which you applied for a carte (5year carte and 10 year Carte have different absence time limits) and AFAIK there is nothing that requires you to give up your card since you absence/return will be recorded on entry/exit from the State and that will determine the continuing validity of your carte. The WARP does not confer any Freedom of Movement rights on the holder between States but the holder of a valid UE CdS will assume to have such rights through the nature of the Nationality in any event and accordingly may not need a residency card in their new State.
In that event, AFAIK there is nothing to prevent holding cards in more than one State except of course, that the time limits for application in a new State have now passed since you will no longer be in a position to have shown residency in the new State by the end of the transition period.
The carte remains the property of the EU issuing State and can be retained by them if demanded to be offered up.
EDIT: The OP mentions a Titre de sejour passeport talent in comments.
I assume you can't have residency in two different EU countries for example
IIRC, if you are no longer employed by the sponsoring employer, the validity of the TdS lapses.