Theoretically, there is no grace period.
You should negotiate with your employer and request your employer not to report your lay-off to USCIS as soon as you are laid off. You may also request your employer to extend the payment of your pay check for your remaining unpaid amount as longer as possible.