Article 52 of the Mexican Federal Labor Law
The employee may separate from work within thirty days following the date on which any of the causes mentioned in the preceding article occurs, and shall be entitled to indemnification by the employer in accordance with the terms of article 50.