Upvote:2
It's difficult to know in general, especially without a lot more information.
One thing that might weight in your favor is that one of the most common reasons to refuse a visit/short-stay visa is in fact the concern that the person might overstay her visa and use it to immigrate illegally. That's a good thing for you to the extent that a spouse visa is intended to let you settle in the country (i.e. you can't abuse it by staying indefinitely as it's its very purpose). Therefore, the risk that you might overstay again is very relevant for short-stay visa applications, much less for long-stay visas.