Yes, it specifically means cuckoo. It could come from either Polish or Czech or even Slovak though, as it is the same in these languages (only dialectal though). Additionally, it could also come from the form Žežula from either Czech or Slovak.
Czech:
https://www.prijmeni.cz/Zezula/puvodPolish:
https://nazwiska.ijp.pan.pl/haslo/print/name/ZEZULASlovak:
https://slovnik.juls.savba.sk/?w=zezula&s=exact&c=of56&cs=&d=priezviska