If someone breaks into my house, I will not have to rush to get my gun because it's right next to me while I sleep. Where it should be, whether it is in a safe or not. There are no small children in my house so I keep mine on the bedside table. For kid-proof solutions, they have biometric or coded safes.
Alabama Shooter brings up some good points as well.