Jessica never really 'came back to life'.
In the episode "What Is And What Should Never Be" 2x20, Jessica is alive because in Dean's wish-world she never died. But that all happened in his head, it wasn't real.
In the episode "Free to Be You and Me" Sam dreams of Jessica but it's actually Lucifer, telling Sam that he's his true vessel.