If you got lay-off before you have the green card. Then you I-485 would most likely be rejected. EAD don’t help at all. H1b to green card is an employer sponsorship program