The two cells that result from a single cell need to have the same amount of genetic material as the initial cell, therefore the DNA needs to be duplicated before the cell divides.
The sister chromatids are attached together so that during anaphase the daugther cells will receive the same chromosomes