If a defendant is held in custody for conduct that results in a sentence to imprisonment or confinement as a condition of suspension or probation, the court, the Division of Correction, or the Division of Community Correction shall credit the time spent in custody against the sentence, including time spent in a local jail facility awaiting transfer to the Division of Correction or the Division of Community Correction.
Ark. Code § 5-4-404