Hey there, in order to qualify for season rewards, you'll need to have participated in 5 wars with that alliance since you most recently joined them. Then, you'll need to stay in the alliance until you have claimed the rewards. Leaving the alliance at any point will reset the count.
in case of expulsion after the end of the season? keeping the receiving critery, of course.