The definition of a resident alien contained in various national laws includes the common elements of lawfulness, continuity and duration.
The spouse or child of a resident alien in Spain.