A police officer who was arrested earlier this month on charges of child abuse, public urination, has resigned.