"Последняя неделя" means that this week is the last, there won't be any other week after it. Like "the last week of the vacation".
"Прошлая неделя" is the previous week, actually. The week that came before the current one.
I'm not sure this word can be used in the meaning of "previous", but even if can, it is spelled последняя.