Spouse working in different state, tax situtation?

My spouse works in a different state, which has no reciprocal agreement with our resident state. Can we file jointly for federal and our resident state and she files separately for the state she works in?