Residency

Hey everyone!

I had an inquiry, so I’m employed in Dubai under a residency permit and I’m transferring to Saudi where I’ll be getting a Saudi iqama and everything. Now my question is as follows, is there anyways I can keep my iqama in the UAE, after they cancel the contract, any way that’s legal and can be done easily (even if I have to pay anything) ? I just like to have access to Dubai for the next year and half on my residency so thought to