As long as they like, in most games that use the term. "Peasant" is usually a class or faction label rather than a restriction, so playtime is governed by the same rules as everyone else's.
If you mean a specific title, tell me which one — some strategy games do cap lower-tier units or apply penalties, and the answer differs accordingly.