You asked:

does a jellyfish sleep

Yes. At least some jellyfishes sleep.
Jellyfish
Jellyfish
Jellyfish