Yes, If u use AP, H1B uneffective, u must applied new one or extend, Illegal work without H1B, so u must applied EAD, stop work now