you need to reside in the uk and exercise treaty rights (working - self employed or self sufficient)
u need to an address in the uk,,
and u cant be absent more than 6 months in one year..
if ur wife is a non eea u need to meet the above requirments in order to bring here and live together,,