State tax filing

I am the custodial parent. I have her 100% of the time. According to our court order he can claim her every other year. So my question is - does that apply to federal and state or just federal?