On maximally resolvable spaces