No. Clearing your browser cookies deletes the location history that was obtained when you were signed out of your Yahoo! account. Clearing your cookies on your browser has no effect on the location history associated with your Yahoo! account.
Click here for information about clearing your location history.