While he appears to Harry in the King's Cross Station after his death, this is a vision, not a resurrection. It's a meeting of sorts within Harry's own mind, a way for Dumbledore to guide Harry and give him the information he needs to defeat Voldemort.