Yes! God loves sinners before they’re saved (John 3:16, Romans 5:8), but only those who accept Christ as Savior will receive the benefit of His love.People who are living in sin and then say, “You need to love me unconditionally, like God does,” are not taking responsibility for their sin.
"Study to shew thyself approved unto God." 2 Timothy 2:15