If you get the offer take it and start your own company with it. There's no use in staying if you're not wanted and even though you'll get a severance package it won't amount to much more than a couple months back pay.