Every person committed to a correctional institution in any county, except the county of Providence, by virtue of an arrest on any writ or process in any civil action, or by surrender of former bail in the same action, shall be let to bail or to new bail, as the case may be, in manner before provided, at any time before the rendering of final judgment on the original writ on which the arrest was made.
R.I. Gen. Laws § 10-11-4