I can’t see how a prosecutor could ever say they’ve made a final determination to not charge. A new prosecutor could always revisit that decision, as long as there is still time under the statute of limitations. Cosby’s lawyers took a risk by letting him testify at the deposition. Thankfully, they lost that bet.