You'll typically get severance for one or two months. As long as you are on the payroll, you can apply for a H1-B transfer. I went through this situation 7 years back. For a company of Microsoft's size, a severance of one or two months shouldn't be a problem.