Did Harry Potter die in death valley?

No, Harry Potter lived throughout the Harry Potter series.

There is no such thing as death valley in Harry Potter and Harry survived the whole series.