Shape of global attractors in topological spaces