Yes, the changes you make to the Dock and menu bar settings will persist even after you restart your Mac.