Yup. I had a star developer on my team that we had been planning to sponsor but the company was being sold and our future was unclear. I had to advise her to go find a new job, because if she started the process with us and got laid off, even finding a new job willing to sponsor, she'd have to start over. She would run out of time on her existing visa and lose her legal status altogether.