It depends on your situation and how comfortable you are. Do not put it under your pillow! I would keep it in a safe but easily reachable place. Like the drawer of a night stand.
Just to add. Keep it loaded and ready to use. How sound a sleeper are you? Keep your bedroom door closed and locked while you sleep.