In most cases, employers are required by law to provide employees with notice of layoff. The length of notice may be determined by state or federal law, or by the terms of an employment contract or collective bargaining agreement.