Few things you can do
If you are on H1 and laid off, few option you can consider from:
#1. Try to get a H1 transfer through some sponsor, however do not fall with any one and dont wate your money to get new H1 as there are people who offer Only H1 by chargin you some money, how reliable they are is doubtful.
Also any one who files H1 for you need to show/provide Pay sTubs for you so if you are paid how can can you Paystub? So when you atculluy get some authtic H sponsor company getting your h1 transfer can be trickly.. with such kind of H1.
#2. Few days/month after Layoff should be OK to be in this country as one definitrly need some time to settle the things, mean time try to get some one who can get you H1 transfer.
#3. You may also consider converting H1 to B1 if you just want to buy some more time.
#4. Try to get information from people, who have gone through this kind of situation, other experience and thier adise can certinaly help, you can read more on net on and website like
www.path2usa.com
Hope this helps...
This is not a legal adivse though.
Also,
Remember always take an Health insurance for you and family First, if you do not under Cobra coverage etc, in the event of un-employment.
Take it easy and have fun,....!