Will I still he able to withdraw when my card expires

Hi I deposit via my debit card and to my understanding I must withdraw via the same card I deposit. What will happen when my debit card expires next year. Will I be able to withdraw via New card.