In general, you will have 1 to 6 months benefit (paycheck) after laid off. Ask your employer pay you as regular pay checks and keep you (not laid off) until that date. You can use this period of time to find another job (H1) or go to school (F1). Good luck!