Yes, if your home state is your permanent, legal residence, you may file a resident state tax return for that State. Even if you will be away from that state for several years, it is considered your domicile if you plan to return to that state when your job is over.