Practically speaking, you can cook and eat almost anything. I think your question is SHOULD I still cook and eat it? The answer would be no. The chance of salmonella appearing on unrefrigerated chicken, especially overnight, is very great. Why take the chance of getting sick?