Glass is a solid (it retains its shape) but in amorphous state(i.e. without long range order). It is obtained from a liquid that is cooled very fast, well below the melting temperature, in fact below the so-called glass-transition temperature. For further information, please read this:
The atomic configuration in a glass resembles that of a liquid. However, the difference can be made as follows. The difference between liquid and solid can be done from the point of view of the magnitude of translational, rotational and vibrational degrees of freedom, which gives scope to the liquid state theory. From this point of view, glass which we commonly use, has mainly vibrational degrees of freedom and hence is a solid.
It is analogous to the magma of volcanic eruptions, but formed in much low thermodynamic conditions of temperature and pressure. When heating the silicium up to the melting point It will be in a liquid state and ends amorphous solid after cooling. I support the assumptions given by R Contreras.