Is it possible to set a Mac to open the last folde…

Is it possible to set a Mac to open the last folder you opened in each application? I spent too much time navigating per app.

About