This happened to me once. My darling cat Bilbo, who had enjoyed ill-health for a number of years, died while visiting my mother. I was in the Bahamas on holiday. She didn't tell me.
I was mostly glad that I did not know. But I regretted not being able to bury him in the "family plot" in the woods behind her house. Mum could not have done that on her own anyways, so there's nothing that could have been done.
So, if you know what your parent's wishes would have been, I say don't tell them. But there are arguments both ways.
Sorry for your parent's loss--I know how hard it is to lose a dog, still mourning mine, and it's been 5 years.