Generally speaking yes, and in particular if this were in the bass then you would have to have quite strong arguments to not resolve it downwards. But in a middle voice, the leading-tone qualities always stand out much less strikingly, so that's usually where the rules are bent in order to smoothen voice leading elsewhere. Presumably, the start of the next bar relies on the soprano coming from the F note (or, d-e-f is simply what the main melody does, can't change that just to cater to some small middle-voice issue!), and another rule is not to double thirds except as a deliberate effect, so that's why you don't give the alto an F there. You could pull it all the way down to D, but both bass and tenor have D already so that's not a good option either. Therefore, the best compromise in this case is to have the alto go up instead of the in itself more natural down direction.