“I have never been in trouble with the law…”
“I have your back”
DWI - even felony DWI - is not subject to cash bail in New York. In other words, the judge has to release you at arraignment.
Nevertheless, if you have a court case pending, your freedom is subject to your good behavior. If you fail to appear in court, the judge could set bail. If there is something about your case that makes the judge think you will not return to court she could subject you to some form of pre-trial monitoring.
When our clients get into trouble during their criminal cases, I would estimate that 90% of the problems have something to do with alcohol. While your DWI case is pending, you should make every effort to stop drinking.