Yes, in order to reserve a hotel, you will need a credit card that is still active. When you make a reservation, your credit card will not be charged (there are rare instances in which this may not be the case, such as when they are running time-sensitive sales).
You will be needed to produce a credit card when you check-in at the hotel, but it does not have to be the same credit card that you used when you made your reservation online.