人不在美国 cannot transfer (COS/EOS), the new company will file I-129 O1
petition for you (or H1 if you have cap-H1 time left) for consulate
notification, and after approval, then you will go to US consulate to get
the corresponding visa stamp to enter US and work for the new sponsor.
Or you can get O1 visa stamp and return to US before layoff, so you can find
a job and transfer(EOS) to the new sponsor within USA.