In Bob’s case, to be fair, state/fed court will likely convict him. Maybe he can delay this to the end of 2024, but it’s unlikely that he can avoid conviction. Senate will just ‘wink’ and let him go to the final day. I’ll predict that Biden pardons him anyway.
If Biden wanted to pardon Menendez he wouldn’t be on trial at all.