During the interview for Alabama, you'll be asked if you worked in Alabama. Even though the answer is "No", answer "Yes." This way you'll be able to prepare a non-resident return. You will just need to make sure you have allocated $0 in wages to Alabama, so you will get a full refund of the withholding.