Have you lived in Belgium for the last 12 months on a residence permit, and do you now have an unlimited right of residence?
Unlimited residence means, for example, a B, C, K, L or F+ card, or an E or E+ card for EU citizens. A temporary A or F card is not enough.