No, I am sorry but you will not as you have to be resident in the U.K. at the time to qualify.
Incidentally you would not qualify for benefit if you stayed in the U.K. either as you voluntarily gave up your employment.In these circumstances the Benefits Agency can refuse you benefits for up to 6 months after you resign.
I hope this clarifies the position. If there are further points please reply. I apologise for being the bearer of bad news but you need an honest answer