It depends on a number of factors: a comma is used by default in American-English but not in British-English, and a comma is used to avoid confusion when the item before the last containts the word 'and' itself.
You could simply always place it there; you can't go wrong. Personally, I dislike that last comma, but opinions vary.