I suggest don't resign until your case been transferred. Even H1b been transferred, you can still stay in your current firm as long as your name is not showed up on new firm's payroll. The worst case is if your transfer failed, but you already resigned. Then u r f**ked.