From the manual:
"If a layer's Global property is set to Yes, then every layer in the project with the same name is overridden by that layer. The initial objects, as well as its properties, are used instead of the other layer's own content and properties."
to have objects on the layer keep their values etcetera, you have many choices..
Global variables, Global objects and saving to local storage, are the most used..