Her visa is derivative of yours. The question is not whether you work for one employer or another, but is whether you remain in lawful, continuous H1B status.