Lt. Fancy attempts to make a deal with the DA in Bellport, NY and says he knows Bellport is a city, too. Bellport is a village, not a city. And in New York State, DA (district attorney) is a county office and Bellport would be served by the Suffolk County DA.
Riverhead, New York is approximately a two hour drive (more or less depending on traffic) from Lower Manhattan. The episode involves two round trips between Lower Manhattan and Riverhead during a single eight-hour working-shift (plus all the incidental action and events that occur).