LawFags might be able to clarify here. If Congress is in session, members are afforded limited protection against arrest and prosecution for certain crimes (e.g. doesn’t include treason or sedition and other serious capital offences).
If there is a shutdown however … things that make you go hmmmmm!