Yes, it does. Website security is an important ranking factor for Google. Your website has a much higher chance of appearing at the top of the search results if it has an SSL certificate securing it.