Alabama Part-year resident Form 40

what does this mean: "A nonresident taxpayer who receives income from Alabama sources or for performing services within Alabama and who also had income while a resident of Alabama during the same tax year must file both the Alabama Nonresident Form 40NR and the Alabama Part-year resident Form 40."?