That's usually the understanding everyone has by default, unless you're doing some specific job that requires greater availability (and are compensated for it), or... you're eroding this understanding yourself by doing something unwise, like replying to company e-mails or IMs after hours.
One rule I learned to stick to: never install apps for company e-mail and IM chats on your personal smartphone. Just don't. Otherwise, you never truly "leave the office for the day".