Question: where did me myself and irene take place
Answer: Charlie Baileygates ( Jim Carrey ) is a veteran Rhode Island State Police trooper who has been taken advantage of by those around him , starting with his former wife Layla ( Traylor Howard ) .