2011 yes you can still claim 500 becuase you are still a student until Nov.
If you really want to be exact, you will claim 5000 x 11/12. However, many
people don't bother, or does any tax officer bother to check your excess
claim of 1 month?
2012 no you cannot any more.