No, they don't have to be consecutive payments. A payment will be counted only if you are employed by a qualifying employer at the time you make the payment.