Some people may pronounce the word as if spelled the first way, but we know it can't be spelled that way. Accident is a noun and cannot be made an adverb by adding -ly
You can remember this one by remembering how to spell the word accidental.
There are quite a few words with -ally suffixes (like “incidentally”) which are not to be confused with words that have “-ly” suffixes (like “independently”).