Does the military member have to be the actual person filing in order to receive the free military discount?

My wife was active duty military during part of last year (and, for clarity, I was never military), so we should be eligible for the free military filing. However, I'm not sure if it matters that I'm the one doing the actual filing this year. We are planning to file married/joint.