An Arkansas judge resigned after being accused of exchanging lighter sentences for sexual favors