Are 401k contribution limits prorated the year I retire?

Are 401k contribution limits prorated the year I retire?  If I work less than 12 months, does the 19,500 limit need to be prorated?