deaddodo 4 days ago

In very limited situations, in general (there are 50 states, I don't know the nuances of each).

Usually only in pre-sentencing stays such as the drunk tank, pre-arraignment holding, etc. If you're sentenced, you aren't charged for that time. Additionally, it's usually waived during sentencing (if it goes that far) as a part of your Credit-Time-Served conversion.