Electron diffraction studies of vapor-deposited water ice have characterized the dynamical structural changes during crystallization that affect volatile retention in cometary materials. Crystallization is found to occur by nucleation of small domains, while leaving a significant part of the amorphous material in a slightly more relaxed amorphous state that coexists metastably with cubic crystalline ice. The onset of the amorphous relaxation is prior to crystallization and coincides with the glass transition. Above the glass transition temperature, the crystallization kinetics are consistent with the amorphous solid becoming a "strong" viscous liquid. The amorphous component can effectively retain volatiles during crystallization if the volatile concentration is ∼10% or less. For higher initial impurity concentrations, a significant amount of impurities is released during crystallization, probably because the impurities are trapped on the surfaces of micropores. A model for crystallization over long timescales is described that can be applied to a wide range of impure water ices under typical astrophysical conditions if the fragility factor D, which describes the viscosity behavior, can be estimated.