Can you keep boiled chicken in water overnight and still eat it?

Only if it's been kept in the fridge overnight.