ido-enable-last-directory-history

ido-enable-last-directory-history is a variable defined in `ido.el'.
Its value is
t


Documentation:
Non-nil means that Ido will remember latest selected directory names.
See `ido-last-directory-list' and `ido-save-directory-list-file'.

You can customize this variable.