; and (B) the 3 years that an alien is required to work as a full-time physician for purposes of a waiver of the 2-year foreign residence requirement under section 212(e) of the Immigration and Nationality Act ( 8 U.S.C. 1182(e) ), as provided in section 214(l) of such Act ( 8 U.S.C. 1184(l) ). (5) Extension or termination The procedures described in paragraph (1) shall take effect on the date that is 30 days after the date of the enactment of this title and shall remain in effect until 180 days after the termination of the public health emergency declared by the Secretary of Health and Human Services under section 319 of the Public Health Service Act ( 42 U.S.C. 247d ), with respect to COVID–19. (g) Special immigrant status for nonimmigrant covid–19 workers and their families (1) In general The Secretary of Homeland Security may grant a petition for special immigrant classification to an alien described in paragraph (2) (and the spouse and children of such alien) if the alien files a petition for special immigrant status under section 204 of the Immigration and Nationality Act ( 8 U.S.C. 1154 ) for classification under section 203(b)(4) of such Act ( 8 U.S.C. 1153(b)(4) ). (2) Aliens described An alien is described in this paragraph if, during the period beginning on the date that the COVID–19 public health emergency was declared by the Secretary of Health and Human Services under section 319 of the Public Health Service Act ( 42 U.S.C. 247d ) and ending 180 days after the termination of such emergency, the alien was— (A) authorized for employment in the United States and maintaining a nonimmigrant status