EAD is derivative benifit of I485's, so as long as your I485is holding you're eligible for EAD. Once 485's declined for whatsoever reasons your EAD goes invalid as well.