If I declare and initialize a public static variable in a prefab, will that variable retain its value or reset every time the prefab is instantiated?

In my case, I have:

public static bool prevReversed = false;

The above is written in a script that’s attached to a prefab as one of its components.

Is prevReversed going to become false every time the prefab is instantiated, or will it retain its value?

Static variables retain their values for the lifetime of AppDomain, so they’re not re-initialized upon newly prefab instantiated.