In my experience it’s quite uncommon for immigration visas/residence permits to require to leave