Yes, it would generally be considered impolite and inappropriate to ask your advisor in the United States or Canada for electronic accounts and passwords that you have entrusted to them. In both academic and professional settings, maintaining the security and privacy of personal accounts and information is of utmost importance.
Asking for someone's passwords can be seen as a breach of trust and a violation of privacy. It may also raise concerns about the advisor's intentions and integrity, as they should not have a need to access your personal accounts unless explicitly required for a specific, legitimate purpose (e.g., accessing shared project files).
If there is a legitimate reason for your advisor to access certain accounts (e.g., for collaborative work), it's essential to establish clear boundaries and permissions. In such cases, you should discuss and agree on the scope of access, and they should request permission to access specific accounts rather than asking for your passwords outright.
Otherwise, it's best to maintain the confidentiality of your passwords and ensure you follow good security practices, such as using strong and unique passwords, enabling two-factor authentication where available, and keeping your accounts secure from unauthorized access.