not necessarily, it’s pretty unclear what will happen right now.I mean considering the 2024 they're in isn't really the same '2024' that was in their original timeline I'm not sure how things play out. Doesn't it just get erased once the 'future' is repaired and it allows the 'future' to have altered the past which then changes 2024? Star Trek has never really looked at altered timelines via time-travel like say MCU/Loki... It's always been more like being rewritten, although people from a time-line that is to be "re-written" are able to continue to exist if they escape it before it is re-written (like Tasha in Yesterday's Enterprise
By the way, if Rios is planning on staying I hope he is prepared to face WW3!