Advice on upgrading three nodes redis-sentinel replicas

Hi to all, i have a question about upgrading my infrastructure of redis. I have three nodes replicated with sentinel installed on three hosts Ubuntu 20.04 lts with the standard version 5.0.7 of the ubu repo; i have upgraded apt.list with the deb source of the redis.io site and now i’m ready to upgrade. The question is can i upgrade only one node at time and run the system for one day in a mixed versions? Thanks in advance on helping me.