Let $S$ be a finite set of maximal ideals in $ O_K$, where $O_K$ is the ring of integers of some number field $K$. Define $A= O_K[S^{-1}]$.
Let $X$ be an arbitrary $A$-scheme. Consider the scheme $X_A=X\times_{\mathbb Z} A$ as an $A$-scheme via the second projection.
Is $X_A$ the disjoint union of at most $[K:\mathbb Q]$ copies of $X$?
Edit: I rewrote the question to make it more clear.