; and (iv) the terms convicted , conviction , adjudicated , and adjudication do not include a judgment that has been expunged or set aside, that resulted in a rehabilitative disposition, or the equivalent. (4) Work authorization In the case of an alien who has temporary resident status under this subsection, the Secretary of Homeland Security shall authorize the alien to engage in employment in the United States and provide the alien with an employment authorized endorsement or other appropriate work permit. Work authorization provided under this paragraph shall be effective throughout the period the alien is in temporary resident status under this subsection. (5) Terms of status (A) In general Temporary resident status under this subsection shall be valid for a period of 3 years, unless such period is extended or renewed. (B) Renewal In the case of an alien who has temporary resident status under this subsection, the Secretary of Homeland Security shall renew the status in 3-year increments, with no limit on the number of such renewals, if— (i) the alien files a nonfrivolous application for renewal before the date of expiration of the period of stay authorized by the Secretary