No. Sonic is not dead, and the question rests on a misunderstanding: he is a fictional character.
The confusion usually comes from a specific game moment that looks like a death, or from an internet rumour that treats a dramatic scene as a statement about the franchise. Sonic stories have occasionally put the character in situations that appear fatal, and the series has never been shy about melodrama, but a plot beat inside a game is not an event in the real world.
Practically speaking, the character has been in continuous publication since 1991 across games, television, comics and film. Whatever happened in a particular story, the blue hedgehog is alive and working.