Sort:  

I mean that you don't keep your password in a password.txt file on your Desktop. That would be very risky and foolish.

It is best if passwords are kept offline, on a piece of paper, stored in your home safe box, or hidden somewhere. It is also important to have multiple copies hidden in case 1 of it gets lost.