If I lived in 2 states (moved), can I file Federal and 1 State return, or I need to do all 3 at once? Either electronically or by mail. Need extension on 1 state only!

I lived 6 mos in each state and made wages in each state FROM employers in that state. Thank you!