It’s a matter of personal preference. Shrimp cooked with the shell on will have more flavor and will stay juicier, while shrimp cooked without the shell will be easier to eat.