Let $X$ be a stone space, i.e. a compact, totally disconnected hausdorff space. Then $H^1(X,\mathbb{Z}/2)=0$. Here's one way of proving this: $X$ with $\mathbb{Z}/2$ (the constant sheaf) is an affine scheme, now use the vanishing result for quasicoherent sheaves on affine schemes.
What happens if we also allow locally compact, totally disconnected hausdorff spaces? Then $X$ with $\mathbb{Z}/2$ is again a scheme, but it is not affine (unless $X$ is compact). A typical example would be an open subset of a stone space (actually this is generic), or the underlying topological space of a local field.