Changing status from J to H visa

Been with a J1 visa for five years. Spouse with J2 visa and work authorization. Changing to H1B and my spouse changing to H4. Will my spouse be eligible to apply for work authorization?