It is often always useful to have Emacs remember the last cursor position of a file that you had opened. Add the following code to your .emacs file to accomplish this.
(setq save-place-file "~/.emacs.d/saveplace")
(setq-default save-place t)
The save-place-file variable identifies the file location where the cursor position information is kept. I like to keep my home directory clean of unnecessary files so I have defined it to ~/.emacs.d/saveplace.