There are always companies in good shape and hiring. If every companies in US are all laying off, I am pretty sure US economy will crash to ashes and US will be like Nigeria in months, if not weeks. I seriously doubt at that time you would still want to have H1 visa to stay here.