A Dover Police officer on leave after failing a breathalyzer test while on duty has resigned, according to the city.