Yes it does. Depending on storage conditions and age, any vegetable oil can and will become rancid. If it smells/tastes bad, that'st usually the problem.
Store olive oil in a cool dark place such as a cabinet away from heat sources such as the stove/oven and dishwasher.
"If you want to make an apple pie from scratch, you must first create the universe." -Carl Sagan