There is only a couple instances where it is legal for person to have no bond or zero bond, and that’s when the person has been accused of a crime punishable by death or life in prison and that the evidence is great and the presumption is evident. Only in that circumstance can a judge keep a person in custody without the opportunity to have a bond.
The other instance where that can happen is if someone has committed a violation of probation. In a violation of probation proceeding, a person is in custody not because they committed a new crime, but because they violated the terms of their probation and their agreement with this judge. And, in that circumstance, to be out, probation is not a matter of right, but grace from the court. The court is entitled to remove that matter of grace until that person has their final violation of probation proceeding.