The final North / South Comprehensive Peace Agreement ( CPA ) , signed in January 2005 , granted the southern rebels autonomy for six years followed by a referendum on independence for Southern Sudan .