My question is: Does this hold for infinite product topological space?
Depends on how you define infinite product of spaces. For a given collection $\{X_i\}_{i\in I}$ of topological spaces one way to define a topology on the infinite Cartesian product is to take the following as basis:
$$\mathcal{B}=\bigg\{\prod_{i\in I}B_i\ |\ B_i\in \mathcal{B}_i\bigg\}$$
which is known as box topology. And this is what you refer to. However typically we would take
$$\mathcal{B}=\bigg\{\prod_{i\in I}B_i\ |\ B_i\in \mathcal{B}_i\text{ and }B_i=X_i\text{ for all but finitely many }i\bigg\}$$
which is the product topology.
Of course these two coincide when $I$ is finite, or more generally when only finitely many $X_i$ are not singletons. And they are different otherwise. They also have different properties. For example $\prod_{n=1}^\infty[0,1]$ is compact with product topology (Tychonoff's theorem) but it is not with the box topology.