Forum:Guardian Sphinx attack

If I begin my turn with Guardian sphinx in facedown defense position, and flip it up during my first main phase, can I activate it's effect during the second main phase if I attacked with it?