I think it's a good idea to store razors with a desiccant nearby. I use silica. Rice may also work. Either way I would keep it separate from the razor.

Michael