No. If the parent is killed, children become children of the init process (that has the process id 1 and is launched as the first user process by the kernel).
The init process checks periodically for new children, and waits for them (thus freeing resources that are allocated by their return value).
The question was already discussed with quality answers here:
How to make child process die after parent exits?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…