The user will be displayed online, if he/she had left the site, but the time when the user is considered being online is not passed yet.
This article related to Visitors Online plugin
Additional resources: Visitors Online - User Guide
Still need help? Feel free to contact our friendly support team. Create a private ticket