Either would work. However, "You saved my life", would be more appropriate in this situation. Sometimes, people use, "You saved my neck", when they are delivered from a life-threatening situation by another person, but this phrase is also commonly used when a person is delivered from a serious, non-life-threatening situation. "You saved my life", is very specific and expresses your feelings more clearly and succinctly in this case.