Elle Greenaway (played by Lola Glaudini) was not killed. She was written off at the start of Season 2 after a traumatic Season 1 finale.
In the Season 1 finale ("The Fisher King, Part 1"), Elle is shot by an unsub in her apartment. She survives but suffers PTSD. In the Season 2 premiere ("The Fisher King, Part 2"), she returns briefly, then resigns from the BAU and the FBI, realizing she can no longer do the job. She leaves a letter for Hotch.
Glaudini chose to leave the series to pursue other acting opportunities and spend more time with family. The writers crafted a respectful, psychological exit consistent with her trauma—rare for a show that often kills characters for shock.
Emily Prentiss (Paget Brewster) joins in Episode 2.02 ("The Perfect Storm") as the new profiler, eventually becoming a fan favorite.