Can I claim my parents as dependent on tax returns even though they didn’t stay with us for one year?

Can I claim my parents as dependent on tax returns even though they didn’t stay with us for one year?

You can still claim your parents if you provided more than half of their support for at least 6 months last year. 

This also applies if they did not live with you but resided in United States, Mexico or Canada