Don't rely on it.
static
means that there is a single instance of the variable and that it is shared by all class instances. In your case, it is being preserved across pages, because the instance of the application that holds it has not been terminated and unloaded by the server between page load operations. This is not guaranteed, and cannot be relied upon. It may also be affected by other users who reference the same pages.
If you need to preserve server values across pages, then do not use
static
- it will cause you unpredictable results in production which will be very, very difficult to track down and fix. Use
Session variables[
^] instead, as these are both designed to hold data across pages, and individual to each user.