>> do you need to keep the card for the entire time that the warranty is in effect?
Please read the insurance document they sent you or online.
The wordings are that you have to be an active CardMember, and CardMember is defined as holder of one of the several cards listed. As long as you hold one of those cards, you should be OK. There is no stipulation that you must hold the original card you used for the purchase.