A Nassau County police officer has resigned