Walmart Credit Card cash back rewards do not expire as long as your account is open and in good standing.  You will forfeit any cash back rewards you have yet to redeem if you or Capital One closes your Walmart Credit Card account for any reason.
Similarly, Capital One will not allow you to earn or redeem cash back rewards whenever you're late making the minimum payment.