Does AIM7M have safety distance?

As the title says, this refers to both IRL and in game, cause I’ve been killed a few times now by it detonating due to track loss.