it only applies to civil cases, not criminal ones.
and it only applies while they are literally in "their respective Houses," meaning at the literal Capitol building, or coming or going to the Capitol building to vote.
https://constitution.congress.gov/browse/essay/artI-S6-C1-1-2/ALDE_00001047/
There are several examples of congressmen being convicted or charged with crimes during their terms. Here's just one.
it only applies to civil cases, not criminal ones.
and it only applies while they are literally in "their respective Houses," meaning at the literal Capitol building, or coming or going to the Capitol building to vote.
https://constitution.congress.gov/browse/essay/artI-S6-C1-1-2/ALDE_00001047/