SpongeBob SquarePants - Season 8 Episode 31 Restraining SpongeBob Be there and be square!
Overview: A fed-up Squidward has had it with SpongeBob's annoying antics, pranks, wisecracks, and practical jokes and issues SpongeBob a restraining order against his neighbor. SpongeBob is afraid that he will violate the restraining order again. (According to this restraining order, SpongeBob is not allowed to come within 15 feet of Squidward, lest he end up going to jail for the rest of his life.)