Maybe some Polish-Americans might have used this as a Polish form of Stanley in the past, but not anymore. This name has no relation to the name Stanley, and is never used as a form of it in Poland. [noted -ed]
In Polish, stan does not mean "government" or "camp", it means "state (condition)". Therefore, this name would most likely mean "glorious" (a state or condition of glory).