Final exit and have a new employer

My current company process my final exit...and I'm on the process of getting a new employer. Is it possible that my would be new employer can apply a visa for me here in the kingdom before my flight schedule or can I signed a new contract with my would be new employer here in the kingdom.

I would appreciate if any body here can inlighten me with this scenario.

If your spuonser accept then you can go to another company,but if he didn't accept you have to get new contract after you leaving
Note you have to sign contract before you leaving and take copy with you then you can follow with Thom to comeback a gain to Saudi Arabia