recently construed this identical statutory provision in State v. Cereceres, 166 Ariz. 14, 800 P.2d 1 (App.1990). We find its analysis both helpful and persuasive. It stated: Use of the word “custody” is not uniform. It is commonly interchangeable with such terms as “imprisonment”, “jail”, “arrest”, and “detention”. Consequently, its meaning varies depending upon the construction of the particular statute under consideration____ [W]e note that A.R.S. § 13-709(B) is located in the chapter of the penal code relating to sentencing. Its stated purpose is to credit a defendant with all time served in presentence incarceration. The word “custody” thus appears in the context of serving a sentence of imprison-ment____ Accordingly, we can reasonably infer that the legi 803, 804 (App.1987) (<HOLDING>). We also believe that this interpretation is
holding that a defendant is entitled to credit only for periods in which defendant is in actual or constructive control of jail or prison officials holding that a defendant is entitled to credit only when in actual or constructive control of jail or prison officials and that a central conceptual difference exists between incarceration and structured rehabilitation and treatment holding that ownership or possession or actual control is needed holding defendant who received treatment in a state hospital was not entitled to jail credit for that time holding that a defendant who does not receive concurrent sentences on multiple charges  is not entitled to have his jail time credit pyramided by being given credit on each sentence for the full time he spends in jail awaiting disposition he is only entitled to jail credit on the first of the consecutive sentences quoting daniels v state 491 so2d 543 545 fla1986