If you are an Arizona resident serving on active duty, your Arizona driver license stays valid until six months after you are discharged. The same extension covers your immediate family members.
There is nothing to apply for. Carry your military ID and orders with your license so you can show why an expired license is still valid.
Your military ID card and orders, and your discharge paperwork once you separate.