Forum:Necrovalley and Stardust

A quick question: Let's say Necrovalley is on the field and a player uses Stardust's ability to tribute it. Would Necrovalley prevent Stardust from returning at the end phase or would since Stardust already be in the graveyard to activate it and avoid Necrovalley or something?