Little Women was published in 1868. The American Civil War ran from 1861 to 1865. Therefore, the novel came out after the war ended—by about three years.
While the story is set during the Civil War (the March sisters' father serves as a Union chaplain), Louisa May Alcott wrote it in the postwar period, drawing on her own family's experiences. The novel reflects the wartime hardships and the changing roles of women, but it is a product of the Reconstruction era.