Even you get the H1-B, you need to get out USA to activate it. But I don't know whether it will invalid you I485 or not.