"Whatever state of being one remembers when he quits his body, that state he will attain without fail." If one practices chanting the Hare Krsna mantra, he is naturally expected to chant Hare Krsna when he meets with some accident. Even without such practice, however, if one somehow or other chants the holy name of the Lord (Hare Krsna) when he meets with an accident and dies, he will be saved from hellish life after death.
From Srila Prabhupada's purport to SB 6.2.15