If the plaintiff or any intervenor in an action, after its institution and at any time before its final determination, becomes a nonresident of this state, the plaintiff or intervenor may be required to give security for costs in the manner provided in sections 621.1 through 621.4.
Iowa Code § 621.5
2021 Acts, ch 76, §143