SEF Legal Entry

Dear all

pls read my query and reply

i was arrived in latvia jan-2018 ,had latvia visa d type on student base, visa now expired and i have temporary residence card of latvia, can enter in any schengen state, may i eligible for legal entry in sef ?

A temporary residence permit gives a foreigner the right:

to stay in the Republic of Latvia for a period of time not exceeding five years;
to freely cross borders of EU Member States and non-EU countries;
to obtain a Latvian or EU permanent residence permit after five years;
to obtain temporary residence permits for the spouse and children;
to move and stay up to 90 days within the territory of other EU countries except for the United Kingdom, Ireland, Cyprus, Bulgaria and Romania.