is it the same meaning of these two sentence?
In my opinion,I say no,
let us see the NO.1,you said the last city,be stress on where you lived,
and the NO2,the last city you last lived,stress on when,the last time you lived.
you can see more about this below friends tell you.